package com.bawei.yangzongcai___day2.MVCAcyivity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * create by ertu
 * create on 2021/7/27
 * description
 *
 *        https://gank.io/api/v2/data/category/Girl/type/Girl/page/1/count/30
 */
public class JavaMVC {
    /**
     * data : [{"_id":"5e959250808d6d2fe6b56eda","author":"鸢媛","category":"Girl","createdAt":"2020-05-25 08:00:00","desc":"与其安慰自己平凡可贵， 不如拼尽全力活得漂亮。 \u200b \u200b\u200b\u200b\u200b","images":["http://gank.io/images/f4f6d68bf30147e1bdd4ddbc6ad7c2a2"],"likeCounts":7,"publishedAt":"2020-05-25 08:00:00","stars":1,"title":"第96期","type":"Girl","url":"http://gank.io/images/f4f6d68bf30147e1bdd4ddbc6ad7c2a2","views":18769},{"_id":"5e95923f808d6d2fe6b56ed8","author":"鸢媛","category":"Girl","createdAt":"2020-05-24 08:00:00","desc":"这世界总有人在笨拙地爱着你，想把全部的温柔都给你。 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/dc75cbde1d98448183e2f9514b4d1320"],"likeCounts":5,"publishedAt":"2020-05-24 08:00:00","stars":1,"title":"第95期","type":"Girl","url":"http://gank.io/images/dc75cbde1d98448183e2f9514b4d1320","views":8217},{"_id":"5e95922e808d6d2fe6b56ed6","author":"鸢媛","category":"Girl","createdAt":"2020-05-23 08:00:00","desc":"陪伴本来就是这世界上最了不起的安慰\u200b。","images":["http://gank.io/images/6b2efa591564475fb8bc32291fb0007c"],"likeCounts":2,"publishedAt":"2020-05-23 08:00:00","stars":1,"title":"第94期","type":"Girl","url":"http://gank.io/images/6b2efa591564475fb8bc32291fb0007c","views":6984},{"_id":"5e959200ee6ba981da2af34d","author":"鸢媛","category":"Girl","createdAt":"2020-05-22 08:00:00","desc":"长不过执念，短不过善变。","images":["http://gank.io/images/d6bba8cf5b8c40f9ad229844475e9149"],"likeCounts":2,"publishedAt":"2020-05-22 08:00:00","stars":1,"title":"第93期","type":"Girl","url":"http://gank.io/images/d6bba8cf5b8c40f9ad229844475e9149","views":5621},{"_id":"5e9591dcee6ba981da2af34b","author":"鸢媛","category":"Girl","createdAt":"2020-05-21 08:00:00","desc":"无论多么艰难的现在，终会翻篇。 朝未来大步向前吧，别丧，别止步。","images":["http://gank.io/images/9fa43020cf724c69842eec3e13f6d21c"],"likeCounts":4,"publishedAt":"2020-05-21 08:00:00","stars":1,"title":"第92期","type":"Girl","url":"http://gank.io/images/9fa43020cf724c69842eec3e13f6d21c","views":3696},{"_id":"5e9591c60bd5529b54e712af","author":"鸢媛","category":"Girl","createdAt":"2020-05-20 08:00:00","desc":"希望下一次，能喜欢上一个也喜欢自己的人 \u200b\u200b\u200b\u200b。","images":["http://gank.io/images/d237f507bf1946d2b0976e581f8aab9b"],"likeCounts":0,"publishedAt":"2020-05-20 08:00:00","stars":1,"title":"第91期","type":"Girl","url":"http://gank.io/images/d237f507bf1946d2b0976e581f8aab9b","views":3183},{"_id":"5e9591b6808d6d2fe6b56ed5","author":"鸢媛","category":"Girl","createdAt":"2020-05-19 08:00:00","desc":"这个世界上， 有些人有多冷漠， 有些人就有多温暖， 希望你总会遇到那些温暖对你的人。","images":["http://gank.io/images/25d3e3db2c1248bb917c09dc4f50a46f"],"likeCounts":1,"publishedAt":"2020-05-19 08:00:00","stars":1,"title":"第90期","type":"Girl","url":"http://gank.io/images/25d3e3db2c1248bb917c09dc4f50a46f","views":4403},{"_id":"5e9591a2ee6ba981da2af34a","author":"鸢媛","category":"Girl","createdAt":"2020-05-18 08:00:00","desc":"以前对你的喜欢， 是见你，念你，陪伴你。 现在对你的喜欢， 是不问，不看，不叨扰。","images":["http://gank.io/images/19c99c447e0a40a6b3ff89951957cfb1"],"likeCounts":0,"publishedAt":"2020-05-18 08:00:00","stars":1,"title":"第89期","type":"Girl","url":"http://gank.io/images/19c99c447e0a40a6b3ff89951957cfb1","views":2924},{"_id":"5e959197808d6d2fe6b56ed4","author":"鸢媛","category":"Girl","createdAt":"2020-05-17 08:00:00","desc":"只要结局是喜剧，过程你要我怎么哭都行，幸福可以来的慢一些， 只要它是真的，如果最后能在一起，晚点我真的无所谓的。","images":["http://gank.io/images/f0c192e3e335400db8a709a07a891b2e"],"likeCounts":1,"publishedAt":"2020-05-17 08:00:00","stars":1,"title":"第88期","type":"Girl","url":"http://gank.io/images/f0c192e3e335400db8a709a07a891b2e","views":4105},{"_id":"5e95915f808d6d2fe6b56ed3","author":"鸢媛","category":"Girl","createdAt":"2020-05-16 08:00:00","desc":"若不是情深似海，思念又怎会泛滥成灾。","images":["http://gank.io/images/bdb35e4b3c0045c799cc7a494a3db3e0"],"likeCounts":3,"publishedAt":"2020-05-16 08:00:00","stars":1,"title":"第87期","type":"Girl","url":"http://gank.io/images/bdb35e4b3c0045c799cc7a494a3db3e0","views":5977},{"_id":"5e959107808d6d2fe6b56ed2","author":"鸢媛","category":"Girl","createdAt":"2020-05-15 08:00:00","desc":"爱一个人最好的方式， 是经营好自己； 爱人要有度，留一点自我， 才会有自尊，你的付出才会有人重视。 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/92989b6a707b44dfb1c734e8d53d39a2"],"likeCounts":3,"publishedAt":"2020-05-15 08:00:00","stars":1,"title":"第86期","type":"Girl","url":"http://gank.io/images/92989b6a707b44dfb1c734e8d53d39a2","views":2821},{"_id":"5e9590feee6ba981da2af346","author":"鸢媛","category":"Girl","createdAt":"2020-05-14 08:00:00","desc":"执子之手，共你一世风霜。 吻子之眸，赠你一世深情。","images":["http://gank.io/images/6e57b254da79416bbe58248b570ea85f"],"likeCounts":0,"publishedAt":"2020-05-14 08:00:00","stars":1,"title":"第85期","type":"Girl","url":"http://gank.io/images/6e57b254da79416bbe58248b570ea85f","views":1734},{"_id":"5e9590e017bf93950887f215","author":"鸢媛","category":"Girl","createdAt":"2020-05-13 08:00:00","desc":"你是我的乍见之欢，你是我的眼神所向 你是我的温柔的归宿 你是我的嘴角扬起的理由。","images":["http://gank.io/images/3fdbaffdf3374578a82313621123dace"],"likeCounts":0,"publishedAt":"2020-05-13 08:00:00","stars":1,"title":"第84期","type":"Girl","url":"http://gank.io/images/3fdbaffdf3374578a82313621123dace","views":1465},{"_id":"5e9590d20bd5529b54e712ac","author":"鸢媛","category":"Girl","createdAt":"2020-05-12 08:00:00","desc":"只有你想见我的时候，我们的相遇才有意义。","images":["http://gank.io/images/fb1c315d54e1413494223aca31a9c47c"],"likeCounts":0,"publishedAt":"2020-05-12 08:00:00","stars":1,"title":"第83期","type":"Girl","url":"http://gank.io/images/fb1c315d54e1413494223aca31a9c47c","views":1262},{"_id":"5e9590b60bd5529b54e712ab","author":"鸢媛","category":"Girl","createdAt":"2020-05-11 08:00:00","desc":"看不清的人，时间会让他现原形。 猜不透的心，生活会给你个答案。 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/f08e8ab6030d41a0ada3e6cecea0e60c"],"likeCounts":0,"publishedAt":"2020-05-11 08:00:00","stars":1,"title":"第82期","type":"Girl","url":"http://gank.io/images/f08e8ab6030d41a0ada3e6cecea0e60c","views":1548},{"_id":"5e9590ac808d6d2fe6b56ed1","author":"鸢媛","category":"Girl","createdAt":"2020-05-10 08:00:00","desc":"我们活在世上能感受到的最美好之事： 向所爱之人倾诉爱意， 以及对感激之人道谢。","images":["http://gank.io/images/f12526b3e9654a47842db6ce21222874"],"likeCounts":0,"publishedAt":"2020-05-10 08:00:00","stars":1,"title":"第81期","type":"Girl","url":"http://gank.io/images/f12526b3e9654a47842db6ce21222874","views":1316},{"_id":"5e959093808d6d2fe6b56ed0","author":"鸢媛","category":"Girl","createdAt":"2020-05-09 08:00:00","desc":"再等一下，上帝肯定会把最特别的你，送给一个最爱你且最特别的人。","images":["http://gank.io/images/e92911f5ff9446d5a899b652b1934b93"],"likeCounts":1,"publishedAt":"2020-05-09 08:00:00","stars":1,"title":"第80期","type":"Girl","url":"http://gank.io/images/e92911f5ff9446d5a899b652b1934b93","views":1670},{"_id":"5e9590800bd5529b54e712a8","author":"鸢媛","category":"Girl","createdAt":"2020-05-08 08:00:00","desc":"别人的目光一点都不重要 你只管按照自己的喜好 去决定你的人生 愿你能过的简单 从容 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/ccf0316264d245018fc651cffa6e90de"],"likeCounts":0,"publishedAt":"2020-05-08 08:00:00","stars":1,"title":"第79期","type":"Girl","url":"http://gank.io/images/ccf0316264d245018fc651cffa6e90de","views":1236},{"_id":"5e95907517bf93950887f213","author":"鸢媛","category":"Girl","createdAt":"2020-05-07 08:00:00","desc":"以前总以为，人生最美好的是相遇。 后来才明白，其实难得的是重逢。 如果说相遇是久别重逢，希望我们别来无恙。","images":["http://gank.io/images/e0b652d2a0cb46ba888a935c525bd312"],"likeCounts":1,"publishedAt":"2020-05-07 08:00:00","stars":1,"title":"第78期","type":"Girl","url":"http://gank.io/images/e0b652d2a0cb46ba888a935c525bd312","views":1916},{"_id":"5e95905117bf93950887f211","author":"鸢媛","category":"Girl","createdAt":"2020-05-06 08:00:00","desc":"当你越来越优秀的时候，就会遇见越来越好的人。 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/9fb66f5c4a214b26be6e0218b93bdf46"],"likeCounts":2,"publishedAt":"2020-05-06 08:00:00","stars":1,"title":"第77期","type":"Girl","url":"http://gank.io/images/9fb66f5c4a214b26be6e0218b93bdf46","views":1402},{"_id":"5e95904417bf93950887f210","author":"鸢媛","category":"Girl","createdAt":"2020-05-05 08:00:00","desc":"有个家，就好。 哪怕它穷，它破。 生活像个空口袋，等着你去装。 装什么，有什么。","images":["http://gank.io/images/95ddb01b6bd34a85aedfda4c9e9bd003"],"likeCounts":0,"publishedAt":"2020-05-05 08:00:00","stars":1,"title":"第76期","type":"Girl","url":"http://gank.io/images/95ddb01b6bd34a85aedfda4c9e9bd003","views":1379},{"_id":"5e959034808d6d2fe6b56ecd","author":"鸢媛","category":"Girl","createdAt":"2020-05-04 08:00:00","desc":"爱就是，我以为我要变得足够好才能遇见你，却发现原来是遇见了你，我才变成一个最好的我。","images":["http://gank.io/images/5fe5b1e9168d4a8a8f6f4e0acefef8f5"],"likeCounts":1,"publishedAt":"2020-05-04 08:00:00","stars":1,"title":"第75期","type":"Girl","url":"http://gank.io/images/5fe5b1e9168d4a8a8f6f4e0acefef8f5","views":1043},{"_id":"5e959012808d6d2fe6b56ecc","author":"鸢媛","category":"Girl","createdAt":"2020-05-03 08:00:00","desc":"我们曾如此期待他人的认同，到最后才知道，世界是自己的，与他人毫无关系。","images":["http://gank.io/images/f7b320f1a89a4aaebadb1922c2a7a368"],"likeCounts":0,"publishedAt":"2020-05-03 08:00:00","stars":1,"title":"第74期","type":"Girl","url":"http://gank.io/images/f7b320f1a89a4aaebadb1922c2a7a368","views":907},{"_id":"5e959006ee6ba981da2af342","author":"鸢媛","category":"Girl","createdAt":"2020-05-02 08:00:00","desc":"后来我渐渐明白 人生就是不断放下的过程 遗憾的是 很多时候我们都没有好好道别","images":["http://gank.io/images/80d2906331444e658aa876f5d4355f70"],"likeCounts":0,"publishedAt":"2020-05-02 08:00:00","stars":1,"title":"第73期","type":"Girl","url":"http://gank.io/images/80d2906331444e658aa876f5d4355f70","views":1136},{"_id":"5e958ff20bd5529b54e712a7","author":"鸢媛","category":"Girl","createdAt":"2020-05-01 08:00:00","desc":"真的很喜欢那种 没一会就问我在干嘛 总和我分享有趣事的人 每天粘着我 让我感觉自己被需要 \u200b\u200b","images":["http://gank.io/images/d5c0dc1618194a65b928c932dd2de3a7"],"likeCounts":0,"publishedAt":"2020-05-01 08:00:00","stars":1,"title":"第72期","type":"Girl","url":"http://gank.io/images/d5c0dc1618194a65b928c932dd2de3a7","views":1227},{"_id":"5e958fe40bd5529b54e712a6","author":"鸢媛","category":"Girl","createdAt":"2020-04-30 08:00:00","desc":"其实也不是什么忘不掉的人 只是对那场无结果的付出和被浪费的炽热的爱 耿耿于怀罢了","images":["http://gank.io/images/291ee91a554f4cd88bf9a09a9fa2e95e"],"likeCounts":0,"publishedAt":"2020-04-30 08:00:00","stars":1,"title":"第71期","type":"Girl","url":"http://gank.io/images/291ee91a554f4cd88bf9a09a9fa2e95e","views":1059},{"_id":"5e958fcd0bd5529b54e712a5","author":"鸢媛","category":"Girl","createdAt":"2020-04-29 08:00:00","desc":"还是该开阔自己的视野 去减肥、去打扮、去实现理想 敢于追随一切自己喜欢的 一定要身心独立，不做感情的傀儡 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/b25e97747ed041fbb7a11f59f7fed5da"],"likeCounts":0,"publishedAt":"2020-04-29 08:00:00","stars":1,"title":"第70期","type":"Girl","url":"http://gank.io/images/b25e97747ed041fbb7a11f59f7fed5da","views":1577},{"_id":"5e958fc017bf93950887f20c","author":"鸢媛","category":"Girl","createdAt":"2020-04-28 08:00:00","desc":"这世界总有人在笨拙地爱着你， 想把全部的温柔都给你。 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/31f485fdc49047f6883f52b73ac102aa"],"likeCounts":0,"publishedAt":"2020-04-28 08:00:00","stars":1,"title":"第69期","type":"Girl","url":"http://gank.io/images/31f485fdc49047f6883f52b73ac102aa","views":992},{"_id":"5e958faf808d6d2fe6b56ecb","author":"鸢媛","category":"Girl","createdAt":"2020-04-27 08:00:00","desc":"相似的人适合玩闹/互补的人才能终老。 \u200b\u200b\u200b\u200b","images":["http://gank.io/images/4817628a6762410895f814079a6690a1"],"likeCounts":0,"publishedAt":"2020-04-27 08:00:00","stars":1,"title":"第68期","type":"Girl","url":"http://gank.io/images/4817628a6762410895f814079a6690a1","views":1534},{"_id":"5e958fa00bd5529b54e712a3","author":"鸢媛","category":"Girl","createdAt":"2020-04-26 08:00:00","desc":"纵使生活没那么容易 我还是想把你放在未来里 一生欢喜 不为世俗所及","images":["http://gank.io/images/0f536c69ada247429b8a9e38d3dba8bb"],"likeCounts":1,"publishedAt":"2020-04-26 08:00:00","stars":1,"title":"第67期","type":"Girl","url":"http://gank.io/images/0f536c69ada247429b8a9e38d3dba8bb","views":1383}]
     * page : 1
     * page_count : 4
     * status : 100
     * total_counts : 96
     */

    private int page;
    private int page_count;
    private int status;
    private int total_counts;
    /**
     * _id : 5e959250808d6d2fe6b56eda
     * author : 鸢媛
     * category : Girl
     * createdAt : 2020-05-25 08:00:00
     * desc : 与其安慰自己平凡可贵， 不如拼尽全力活得漂亮。 ​ ​​​​
     * images : ["http://gank.io/images/f4f6d68bf30147e1bdd4ddbc6ad7c2a2"]
     * likeCounts : 7
     * publishedAt : 2020-05-25 08:00:00
     * stars : 1
     * title : 第96期
     * type : Girl
     * url : http://gank.io/images/f4f6d68bf30147e1bdd4ddbc6ad7c2a2
     * views : 18769
     */

    private List<DataBean> data;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPage_count() {
        return page_count;
    }

    public void setPage_count(int page_count) {
        this.page_count = page_count;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTotal_counts() {
        return total_counts;
    }

    public void setTotal_counts(int total_counts) {
        this.total_counts = total_counts;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements MultiItemEntity {
        private String _id;
        private String author;
        private String category;
        private String createdAt;
        private String desc;
        private int likeCounts;
        private String publishedAt;
        private int stars;
        private String title;
        private String type;
        private String url;
        private int views;
        private List<String> images;
        public  int tatylayout;

        public int getTatylayout() {
            return tatylayout;
        }

        public void setTatylayout(int tatylayout) {
            this.tatylayout = tatylayout;
        }

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(String createdAt) {
            this.createdAt = createdAt;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getLikeCounts() {
            return likeCounts;
        }

        public void setLikeCounts(int likeCounts) {
            this.likeCounts = likeCounts;
        }

        public String getPublishedAt() {
            return publishedAt;
        }

        public void setPublishedAt(String publishedAt) {
            this.publishedAt = publishedAt;
        }

        public int getStars() {
            return stars;
        }

        public void setStars(int stars) {
            this.stars = stars;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getViews() {
            return views;
        }

        public void setViews(int views) {
            this.views = views;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }

        @Override
        public int getItemType() {
            return tatylayout;
        }
    }
}
